/*
 * Metaverse Core
 * Copyright (C) 2010 Vyacheslav Vorobyov, All rights reserved.
 * See LICENSE for full license information.
 */
package org.metaverse.warehouse.util;

import org.metaverse.warehouse.FetchProcedure;
import org.metaverse.warehouse.Senary.Slot;

/**
 * @author vjache
 *
 */
public abstract class FetchProcedureAdapter implements FetchProcedure {

	/* (non-Javadoc)
	 * @see org.metaverse.warehouse.FetchProcedure#getLimit()
	 */
	@Override
	public int getLimit() {
		return 0;
	}

	/* (non-Javadoc)
	 * @see org.metaverse.warehouse.FetchProcedure#getOffset()
	 */
	@Override
	public int getOffset() {
		return 0;
	}

	/* (non-Javadoc)
	 * @see org.metaverse.warehouse.FetchProcedure#getOrderBy()
	 */
	@Override
	public Slot[] getOrderBy() {
		return null;
	}

	/* (non-Javadoc)
	 * @see org.metaverse.warehouse.FetchProcedure#getSelected()
	 */
	@Override
	public Slot[] getSelected() {
		return getOrderBy();
	}
	
	@Override
	public void onFinish() throws Exception {}

}
